<?php

class fonduriActions extends myActions
{

    public function executeIndex(sfWebRequest $request)
    {

    }

    /**
     * Adauga un fond
     *
     * @param sfWebRequest $request
     * @return JSON
     */
    public function executeXAdd(sfWebRequest $request)
    {
        return $this->formRequest($request, new FondForm());
    }

    /**
     * Adauga o contibutie la un fond
     *
     * @param sfWebRequest $request
     * @return JSON
     */
    public function executeXContributie(sfWebRequest $request)
    {
        return $this->formRequest($request, new ContributieFondForm());
    }

}
